package com.rc.evcharger.service;

import com.rc.evcharger.model.order.OrderInfo;

/**
 * 订单结算，所有计算在同一事务内完成
 * Created by Sven on 2021/05/16
 */
public interface OrderCostService {
    /**
     * 正常结算+出现在断网超时时后台进行结算订单
     */
    void updateOrderCost(String orderNum, Integer stopReason);


    //清理redis中数据
    void clearRedis(String rtua, String gunNum, String orderNum, Long memberId);

    String updateOccupyOrderinfoCost(Long elecPileId,Long gunId);
    /**
     * 正常结算+出现在断网超时时后台进行结算订单
     */
    //void updateOrderCostByMongdbLog(String orderNum, Integer stopReason, ChargedProcessLog chargedProcessLog);
}
